1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>chj.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
  </head>
  
  <table border="1" bordercolor="#ffffff" width="80%" align="center" cellspacing="0" cellpadding="5">  
        <tr align="center"> <td colspan="4">车行家请求接口详细</td> </tr>  
        <tr align="center"> <td><a href="#001" style="text-decoration:none;">车辆录入接口(issuecarinfo)</a></td> <td><a href="#002" style="text-decoration:none;">图片导航接口(navpiclist)</a></td> <td><a href="#003" style="text-decoration:none;">车辆列表查询(querycarslist)</a></td><td><a href="#004" style="text-decoration:none;">车辆详细查询(querycarsinfo)</a></td></tr>   
  </table>  
  
  
  <a name="001" id="001"><h1>车辆录入请求格式</h1></a>
  <div>
  1.请求参数<br/>
	action:{<br/>
	token:请求令牌<br/>
	userid:用户ID<br/>
	basicinfo:基本信息<br/>
	expandinfo:扩展信息<br/>
	}<br/>
	<br/>
  2.请求数据格式如下<br/>
  {
    "expandinfo": [<br/>
        {
            "sign": "carconfig", 
            "keyname": "车身颜色", 
            "keyvalue": "白色"
        }, <br/>
        {
            "sign": "carframe", 
            "keyname": "车体整体对称性", 
            "keyvalue": "正常"
        }, <br/>
        {
            "sign": "carframe", 
            "keyname": "右前减震器悬挂部位状态", 
            "keyvalue": "变形,扭曲#2AA61DBE-3178-4DE8-9326-7440051EFAD3.jpg,更换#2C4A12D8-0C4F-4040-8A0D-273A82158242.jpeg,烧焊#3AB91179-7118-49F0-BF62-75A52BE3D5FA.jpeg,褶皱#3D1932AC-C776-401E-A4EA-66A8E07558C1.JPG"
        },<br/> 
        {
            "sign": "carface", 
            "keyname": "前挡风玻璃状态", 
            "keyvalue": "正常"
        }, <br/>
        {
            "sign": "carface", 
            "keyname": "发动机舱盖状态", 
            "keyvalue": "划痕#2AA61DBE-3178-4DE8-9326-7440051EFAD3.jpg"
        }, <br/>
        {
            "sign": "carface", 
            "keyname": "前大灯（左）状态", 
            "keyvalue": "变形#2AA61DBE-3178-4DE8-9326-7440051EFAD3.jpg,裂纹#2C4A12D8-0C4F-4040-8A0D-273A82158242.jpeg"
        }, <br/>
        {
            "sign": "carengine", 
            "keyname": "机油有无冷却液混入", 
            "keyvalue": "严重"
        }, <br/>
        {
            "sign": "carengine", 
            "keyname": "蓄电池电解液有无渗漏、缺少", 
            "keyvalue": "正常"
        }, <br/>
        {
            "sign": "carcockpit", 
            "keyname": "玻璃窗升降器、门窗工作是否正常", 
            "keyvalue": "是"
        }, <br/>
        {
            "sign": "carstart", 
            "keyname": "车辆启动是否顺畅（时间少于5秒，或者一次启动）", 
            "keyvalue": "是"
        }, <br/>
        {
            "sign": "carroadtest", 
            "keyname": "制动系统工作是否正常有效、制动不跑偏", 
            "keyvalue": "是"
        }, <br/>
        {
            "sign": "carbottom", 
            "keyname": "发动机油底壳是否无渗漏", 
            "keyvalue": "是"
        }, <br/>
        {
            "sign": "carfunparts", 
            "keyname": "发动机舱盖锁止", 
            "keyvalue": "无"
        }, <br/>
        {
            "sign": "mustpicture", 
            "keyname": "必选照片", 
            "keyvalue": "4A85C283-22E7-4077-973B-5B5461698CEC.jpg,5D919036-08FF-4655-A02A-2AF6AF40AD13.jpg,3F6B8F48-B8C7-4559-B7B0-05E0C132B15D.jpg,004A4CF5-5B08-44AC-BC55-94F00A46DC7E.jpeg,567ABA55-BA4B-4894-841D-BE003907B33F.jpg"
        }, <br/>
        {
            "sign": "otherpicture", 
            "keyname": "其他照片", 
            "keyvalue": "5B3DF490-AF14-4FF2-9D88-9B1EF0991E8F.jpeg,7A0BD0C2-7587-48BD-B044-EE1537891258.jpg"
        }<br/>
    ], <br/>
    "token": "61DFCA04-7BC9-4708-83A2-CEEBC958D4BB", <br/>
    "userid": 1, <br/>
    "basicinfo": {<br/>
        "tradecontacts": "勾昌俊", <br/>
        "tradecontactnumber": "18302562524",<br/> 
        "yearlyinspectiondate": "2014-06", <br/>
        "tradesubcode": "110102197810272321", <br/>
        "tradecontactaddress": "贵阳市南明区花果园", <br/>
        "carmodel": "奥迪A4L 2013款 35 TFSI 自动标准型",<br/> 
        "vehicleorigin": "国产", <br/>
        "registrationcertificate": "有", <br/>
        "carownername": "张小三", <br/>
        "caruseInstructions": "有", <br/>
        "onthecardtime": "2003-12-09",<br/> 
        "purchasetaxcertificate": "无",<br/> 
        "tradesubject": "金阳", <br/>
        "firstrecorddate": "2012-05-09", <br/>
        "legalvoucher": "购车发票,保养手册,进口关单,商检单", <br/>
        "stronginsurancedate": "有", <br/>
        "carowneridcard": "110102197810272321", <br/>
        "insurancepolicy": "有", <br/>
        "endorsement": "有", <br/>
        "presaleprice": "66668888",<br/> 
        "carbrand": "奥迪2", <br/>
        "licenseplate": "有", <br/>
        "tradeinfotype": "个人", <br/>
        "vehiclevincode": "LSVFA49J232037048", <br/>
        "carterritorial": "贵州省贵阳市", <br/>
        "travelkilometer": "88888888", <br/>
        "enginenumber": "GB725-82", <br/>
        "carseries": "奥迪3Q(进口)", <br/>
        "useproperty": "家庭用车", <br/>
        "proofoftraveltaxdate": "2014-05", <br/>
        "licencenumber": "贵A-R5678", <br/>
        "leaverecorddate": "2016-02", <br/>
        "transfertimes": "1", <br/>
        "drivinglicense": "有"<br/>
    }<br/>
}
  <br/>
  <br/>
  3.基本信息列名
    private String carbrand;//车辆品牌<br/>
    private String carseries;//车辆系列<br/>
	private String carmodel;//车辆型号<br/>
	private String onthecardtime;//上牌时间<br/>
	private String travelkilometer;//行驶公里<br/>
	private String presaleprice;//预售价格（万元）<br/>
	private String vehiclevincode;/车辆VIN码(17位数字及大写字母)<br/>
	private String licencenumber;//牌照号码<br/>
	private String enginenumber;//发动机号<br/>
	private String vehicleorigin;//车辆产地<br/>
	private String firstrecorddate;//首次登记日期<br/>
	private String leaverecorddate;//出厂日期<br/>
	private String useproperty;//使用性质<br/>
	private String carownername;//车主姓名<br/>
	private String carowneridcard;//车主（法人代表）身份证号码<br/>
	private String carterritorial;//车辆归属地<br/>
	private String tradeinfotype;//成交信息类型<br/>
	private String tradesubject;//成交信息详细-主体名称<br/>
	private String tradesubcode;//成交信息详细-主体代码<br/>
	private String tradecontacts;//成交信息详细-联系人<br/>
	private String tradecontactnumber;//成交信息详细-联系电话<br/>
	private String tradecontactaddress;/成交信息详细-联系地址<br/>
	private String yearlyinspectiondate;//年检证明<br/>
	private String proofoftraveltaxdate;//车船税证明<br/>
	private String stronginsurancedate;//交强险<br/>
	private String purchasetaxcertificate;//购置税证书<br/>
	private String licenseplate;//号牌<br/>
	private String drivinglicense;//行驶证<br/>
	private String registrationcertificate;//登记证书<br/>
	private String insurancepolicy;//保险单<br/>
	private String endorsement;//违章记录<br/>
	private String caruseInstructions;//车辆使用说明<br/>
	private String transfertimes;//过户次数<br/>
	private String legalvoucher;//其他法定凭证<br/>
	<br/>
	<br/>
	4.扩展信息列名
	private String keyname;//属性键名<br/>
	private String keyvalue;//属性键值<br/>
	private String sign;// 属性标识<br/>

	注：sign包含如下：<br/>
	carconfig:车辆概况配置<br/>
	carframe:车辆骨架<br/>
	carface:车身外观检查<br/>
	carengine:发动机舱检查<br/>
	carcockpit:驾驶舱检查<br/>
	carstart:启动检查<br/>
	carroadtest:路试检查<br/>
	carbottom:底盘检查<br/>
	carfunparts:功能性零部件<br/>
	mustpicture:必须照片<br/>
	otherpicture:其他照片<br/>
  </div>
   

<a name="002" id="002"><h1>图片导航接口</h1></a>
<div>
1.参数<br/>
action:{<br/>
token:请求令牌<br/>
userid:用户ID<br/>
}<br/>
2.返回值数据格式如下<br/>
{"status":"0","msg":"请求成功!","data":{"navlist":[{"navid":1,"carid":851927094,"carmodel":"奥迪A4L 2013款 35 TFSI 自动标准型","imgurl":"7A13A64D-B0CD-4B90-A5F0-98BF5590C347.png","rqturl":"querycarsinfo","createdtime":1484096331000,"picurl":null}]}}
</div>
<a name="003" id="003"><h1>车辆列表查询</h1></a>
<div>
1.参数<br/>
action:{<br/>
token:请求令牌<br/>
userid:用户ID<br/>
page:页码<br/>
pagesize:显示记录数<br/>
}<br/>
2.返回值数据格式如下<br/>
{"status":"0","msg":"请求数据成功!","data":{"pagebean":{"list":[{"carid":851927094,"userid":1,"carbrand":"奥迪2","carseries":"奥迪3Q(进口)","carmodel":"奥迪A4L 2013款 35 TFSI 自动标准型","onthecardtime":"2003-12-09","travelkilometer":"88888888","presaleprice":"66668888","vehiclevincode":"LSVFA49J232037048","licencenumber":"贵A-R5678","enginenumber":"GB725-82","vehicleorigin":"国产","firstrecorddate":"2012-05-09","leaverecorddate":"2016-02","useproperty":"家庭用车","carownername":"张小三","carowneridcard":"110102197810272321","carterritorial":"贵州省贵阳市","tradeinfotype":"个人","tradesubject":"金阳","tradesubcode":"110102197810272321","tradecontacts":"勾昌俊","tradecontactnumber":"18302562524","tradecontactaddress":"贵阳市南明区花果园","yearlyinspectiondate":"2014-06","proofoftraveltaxdate":"2014-05","stronginsurancedate":"有","purchasetaxcertificate":"无","licenseplate":"有","drivinglicense":"有","registrationcertificate":"有","insurancepolicy":"有","endorsement":"有","caruseInstructions":"有","transfertimes":"1","legalvoucher":"购车发票,保养手册,进口关单,商检单","status":"1","isdel":"0","logourl":"4A85C283-22E7-4077-973B-5B5461698CEC.jpg","points":0,"createdtime":"2017-01-10 18:13:36","isrelat":"0","nvimgurl":null,"carattrlist":null,"unwrappingSerializer":false}],"allRow":0,"totalPage":0,"currentPage":1,"pageSize":10,"pageIndex":{"startindex":1,"endindex":0}}}}
</div>
<a name="004" id="004"><h1>车辆详细查询</h1></a>
<div>
1.参数<br/>
action:{<br/>
token:请求令牌<br/>
userid:用户ID<br/>
carid:车辆主键ID<br/>
}<br/>
2.返回值数据格式如下<br/>
{"status":"0","msg":"请求数据成功!","data":{"carsinfo":{"carid":851927094,"userid":1,"carbrand":"奥迪2","carseries":"奥迪3Q(进口)","carmodel":"奥迪A4L 2013款 35 TFSI 自动标准型","onthecardtime":"2003-12-09","travelkilometer":"88888888","presaleprice":"66668888","vehiclevincode":"LSVFA49J232037048","licencenumber":"贵A-R5678","enginenumber":"GB725-82","vehicleorigin":"国产","firstrecorddate":"2012-05-09","leaverecorddate":"2016-02","useproperty":"家庭用车","carownername":"张小三","carowneridcard":"110102197810272321","carterritorial":"贵州省贵阳市","tradeinfotype":"个人","tradesubject":"金阳","tradesubcode":"110102197810272321","tradecontacts":"勾昌俊","tradecontactnumber":"18302562524","tradecontactaddress":"贵阳市南明区花果园","yearlyinspectiondate":"2014-06","proofoftraveltaxdate":"2014-05","stronginsurancedate":"有","purchasetaxcertificate":"无","licenseplate":"有","drivinglicense":"有","registrationcertificate":"有","insurancepolicy":"有","endorsement":"有","caruseInstructions":"有","transfertimes":"1","legalvoucher":"购车发票,保养手册,进口关单,商检单","status":"1","isdel":"0","logourl":"4A85C283-22E7-4077-973B-5B5461698CEC.jpg","points":0,"createdtime":"2017-01-10 18:13:36","isrelat":"0","nvimgurl":null,"carattrlist":null,"unwrappingSerializer":false}}}
</div>
  </body>
</html>

